<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
        xmlns:icecore="http://www.icefaces.org/icefaces/core"
       xmlns:ace="http://www.icefaces.org/icefaces/components"
       xmlns:ice="http://www.icesoft.com/icefaces/component"
       xmlns:c="http://java.sun.com/jsp/jstl/core">
    <h:head>
        <title><h:form><h:outputText>Vorlesung administrieren</h:outputText></h:form></title>
    </h:head>
    <h:body>
        <ui:composition template="WEB-INF/templates/lecture.xhtml">
            <ui:define name="content">
                <ice:form>
                    <ice:outputText value="Vorlesung #{lectureBean.lecture.info.name} administrieren" />
                    <br />
                    <br />
                    <ice:outputText value="Name der Veranstaltung" />
                    <ice:inputText value="#{lectureBean.lecture.info.name}"
                                   partialSubmit="true"/>
                    <br />
                    <ice:outputText value="Anmeldung aktiv" />
                    <ice:selectBooleanCheckbox value="#{lectureBean.lecture.info.registrationOpen}" 
                                               partialSubmit="true"/>
                    <br />
                    <ice:outputText value="Anmeldung nach Zeit (Student wählt Zeit und nicht konkrete Übungsgruppe)" />
                    <ice:selectBooleanCheckbox value="#{lectureBean.lecture.info.registerByTime}"
                                               partialSubmit="true"/>
                    <br />
                    <ice:outputText value="Anzahl der auszuwählenden Übungsgruppen" />
                    <ice:inputText  value="#{lectureBean.lecture.info.howManyExceriseGroups}" 
                                    partialSubmit="true"/>
                </ice:form>
            </ui:define>
        </ui:composition>
    </h:body>
</html>
